// 引入 openai-api
const { Configuration, OpenAIApi } = require('openai');
const OPENAI_API_KEY = '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';
const configuration = new Configuration({
    apiKey: OPENAI_API_KEY,
});
const openai = new OpenAIApi(configuration);

module.exports = openai